Make Compilation mode recognize non-legacy Kotlin/Gradle errors
authorRudolf Adamkovič <rudolf@adamkovic.org>
Thu, 2 May 2024 17:06:11 +0000 (19:06 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2024 08:30:51 +0000 (11:30 +0300)
commite1ba4ebb495199d1723bd9c4a1f687a02207ee23
treec17733822c39447286e9f52d8a1bb15bcd5af6c5
parent4f030834994ce06822779fe0f2c316a941ee6ea8
Make Compilation mode recognize non-legacy Kotlin/Gradle errors

The Compilation mode recognizes Kotlin/Gradle errors but only in
the now legacy format.  The current format, which has been in wide
use for about a year, is not supported.  This change adds support
for the current format.
* etc/compilation.txt: (symbols): Add examples of non-legacy
Kotlin/Gradle warnings and errors.
* lisp/progmodes/compile.el: (compilation-error-regexp-alist-alist):
Rename 'gradle-kotlin' to 'gradle-kotlin-legacy' and add
'grade-kotlin' that matches the errors and warnings outputted by
the current (non-legacy) Kotlin/Gradle.  (Bug#70797)
* test/lisp/progmodes/compile-tests.el
(compile-tests--test-regexps-data): Rename 'gradle-kotlin' to
'gradle-kotlin-legacy' and add two test cases for the newly added,
non-legacy Kotlin/Gradle warnings and errors.
etc/compilation.txt
lisp/progmodes/compile.el
test/lisp/progmodes/compile-tests.el